package com.base.thread.ch20;

/**
 * Created by xingyuchao@zto.cn on 2017-12-20.
 */
public class Run {

    public static void main(String[] args) {
        try {
            throw  new TestException(500,"服务端错误");
        } catch (TestException e) {
            e.printStackTrace();
            System.out.println(e.getCode());
            System.out.println(e.getMsg());
        }
    }
}